using Google.ProtocolBuffers;
using micromsg.Proto;
using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using System.IO;
using System.Runtime.CompilerServices;
namespace micromsg
{
	[GeneratedCode("ProtoGen", "2.3.0.277"), DebuggerNonUserCode, CompilerGenerated]
	public sealed class NewRegRequest : GeneratedMessageLite<NewRegRequest, NewRegRequest.Builder>
	{
		[GeneratedCode("ProtoGen", "2.3.0.277"), DebuggerNonUserCode, CompilerGenerated]
		public sealed class Builder : GeneratedBuilderLite<NewRegRequest, NewRegRequest.Builder>
		{
			private bool resultIsReadOnly;
			private NewRegRequest result;
			protected override NewRegRequest.Builder ThisBuilder
			{
				get
				{
					return this;
				}
			}
			public override bool IsInitialized
			{
				get
				{
					return this.result.IsInitialized;
				}
			}
			protected override NewRegRequest MessageBeingBuilt
			{
				get
				{
					return this.PrepareBuilder();
				}
			}
			public override NewRegRequest DefaultInstanceForType
			{
				get
				{
					return NewRegRequest.DefaultInstance;
				}
			}
			public BaseRequest BaseRequest
			{
				get
				{
					return this.result.BaseRequest;
				}
				set
				{
					this.SetBaseRequest(value);
				}
			}
			public string UserName
			{
				get
				{
					return this.result.UserName;
				}
				set
				{
					this.SetUserName(value);
				}
			}
			public string Pwd
			{
				get
				{
					return this.result.Pwd;
				}
				set
				{
					this.SetPwd(value);
				}
			}
			public string NickName
			{
				get
				{
					return this.result.NickName;
				}
				set
				{
					this.SetNickName(value);
				}
			}
			public uint BindUin
			{
				get
				{
					return this.result.BindUin;
				}
				set
				{
					this.SetBindUin(value);
				}
			}
			public string BindEmail
			{
				get
				{
					return this.result.BindEmail;
				}
				set
				{
					this.SetBindEmail(value);
				}
			}
			public string BindMobile
			{
				get
				{
					return this.result.BindMobile;
				}
				set
				{
					this.SetBindMobile(value);
				}
			}
			public string Ticket
			{
				get
				{
					return this.result.Ticket;
				}
				set
				{
					this.SetTicket(value);
				}
			}
			public uint BuiltinIPSeq
			{
				get
				{
					return this.result.BuiltinIPSeq;
				}
				set
				{
					this.SetBuiltinIPSeq(value);
				}
			}
			public uint DLSrc
			{
				get
				{
					return this.result.DLSrc;
				}
				set
				{
					this.SetDLSrc(value);
				}
			}
			public uint RegMode
			{
				get
				{
					return this.result.RegMode;
				}
				set
				{
					this.SetRegMode(value);
				}
			}
			public string TimeZone
			{
				get
				{
					return this.result.TimeZone;
				}
				set
				{
					this.SetTimeZone(value);
				}
			}
			public string Language
			{
				get
				{
					return this.result.Language;
				}
				set
				{
					this.SetLanguage(value);
				}
			}
			public Builder()
			{
				this.result = NewRegRequest.DefaultInstance;
				this.resultIsReadOnly = true;
			}
			internal Builder(NewRegRequest cloneFrom)
			{
				this.result = cloneFrom;
				this.resultIsReadOnly = true;
			}
			private NewRegRequest PrepareBuilder()
			{
				if (this.resultIsReadOnly)
				{
					NewRegRequest other = this.result;
					this.result = new NewRegRequest();
					this.resultIsReadOnly = false;
					this.MergeFrom(other);
				}
				return this.result;
			}
			public override NewRegRequest.Builder Clear()
			{
				this.result = NewRegRequest.DefaultInstance;
				this.resultIsReadOnly = true;
				return this;
			}
			public override NewRegRequest.Builder Clone()
			{
				if (this.resultIsReadOnly)
				{
					return new NewRegRequest.Builder(this.result);
				}
				return new NewRegRequest.Builder().MergeFrom(this.result);
			}
			public override NewRegRequest BuildPartial()
			{
				if (this.resultIsReadOnly)
				{
					return this.result;
				}
				this.resultIsReadOnly = true;
				return this.result.MakeReadOnly();
			}
			public override NewRegRequest.Builder MergeFrom(IMessageLite other)
			{
				if (other is NewRegRequest)
				{
					return this.MergeFrom((NewRegRequest)other);
				}
				base.MergeFrom(other);
				return this;
			}
			public override NewRegRequest.Builder MergeFrom(NewRegRequest other)
			{
				return this;
			}
			public override NewRegRequest.Builder MergeFrom(ICodedInputStream input)
			{
				return this.MergeFrom(input, ExtensionRegistry.Empty);
			}
			public override NewRegRequest.Builder MergeFrom(ICodedInputStream input, ExtensionRegistry extensionRegistry)
			{
				this.PrepareBuilder();
				uint num;
				string text;
				while (input.ReadTag(out num, out text))
				{
					if (num == 0u && text != null)
					{
						int num2 = Array.BinarySearch<string>(NewRegRequest._newRegRequestFieldNames, text, StringComparer.get_Ordinal());
						if (num2 < 0)
						{
							this.ParseUnknownField(input, extensionRegistry, num, text);
							continue;
						}
						num = NewRegRequest._newRegRequestFieldTags[num2];
					}
					uint num3 = num;
					if (num3 <= 50u)
					{
						if (num3 <= 18u)
						{
							if (num3 == 0u)
							{
								throw InvalidProtocolBufferException.InvalidTag();
							}
							if (num3 == 10u)
							{
								BaseRequest.Builder builder = BaseRequest.CreateBuilder();
								if (this.result.hasBaseRequest)
								{
									builder.MergeFrom(this.BaseRequest);
								}
								input.ReadMessage(builder, extensionRegistry);
								this.BaseRequest = builder.BuildPartial();
								continue;
							}
							if (num3 == 18u)
							{
								this.result.hasUserName = input.ReadString(ref this.result.userName_);
								continue;
							}
						}
						else
						{
							if (num3 <= 34u)
							{
								if (num3 == 26u)
								{
									this.result.hasPwd = input.ReadString(ref this.result.pwd_);
									continue;
								}
								if (num3 == 34u)
								{
									this.result.hasNickName = input.ReadString(ref this.result.nickName_);
									continue;
								}
							}
							else
							{
								if (num3 == 40u)
								{
									this.result.hasBindUin = input.ReadUInt32(ref this.result.bindUin_);
									continue;
								}
								if (num3 == 50u)
								{
									this.result.hasBindEmail = input.ReadString(ref this.result.bindEmail_);
									continue;
								}
							}
						}
					}
					else
					{
						if (num3 <= 96u)
						{
							if (num3 == 58u)
							{
								this.result.hasBindMobile = input.ReadString(ref this.result.bindMobile_);
								continue;
							}
							if (num3 == 66u)
							{
								this.result.hasTicket = input.ReadString(ref this.result.ticket_);
								continue;
							}
							if (num3 == 96u)
							{
								this.result.hasBuiltinIPSeq = input.ReadUInt32(ref this.result.builtinIPSeq_);
								continue;
							}
						}
						else
						{
							if (num3 <= 112u)
							{
								if (num3 == 104u)
								{
									this.result.hasDLSrc = input.ReadUInt32(ref this.result.dLSrc_);
									continue;
								}
								if (num3 == 112u)
								{
									this.result.hasRegMode = input.ReadUInt32(ref this.result.regMode_);
									continue;
								}
							}
							else
							{
								if (num3 == 122u)
								{
									this.result.hasTimeZone = input.ReadString(ref this.result.timeZone_);
									continue;
								}
								if (num3 == 130u)
								{
									this.result.hasLanguage = input.ReadString(ref this.result.language_);
									continue;
								}
							}
						}
					}
					if (WireFormat.IsEndGroupTag(num))
					{
						return this;
					}
					this.ParseUnknownField(input, extensionRegistry, num, text);
				}
				return this;
			}
			public NewRegRequest.Builder SetBaseRequest(BaseRequest value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasBaseRequest = true;
				this.result.baseRequest_ = value;
				return this;
			}
			public NewRegRequest.Builder SetBaseRequest(BaseRequest.Builder builderForValue)
			{
				ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
				this.PrepareBuilder();
				this.result.hasBaseRequest = true;
				this.result.baseRequest_ = builderForValue.Build();
				return this;
			}
			public NewRegRequest.Builder MergeBaseRequest(BaseRequest value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				if (this.result.hasBaseRequest && this.result.baseRequest_ != BaseRequest.DefaultInstance)
				{
					this.result.baseRequest_ = BaseRequest.CreateBuilder(this.result.baseRequest_).MergeFrom(value).BuildPartial();
				}
				else
				{
					this.result.baseRequest_ = value;
				}
				this.result.hasBaseRequest = true;
				return this;
			}
			public NewRegRequest.Builder ClearBaseRequest()
			{
				this.PrepareBuilder();
				this.result.hasBaseRequest = false;
				this.result.baseRequest_ = null;
				return this;
			}
			public NewRegRequest.Builder SetUserName(string value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasUserName = true;
				this.result.userName_ = value;
				return this;
			}
			public NewRegRequest.Builder ClearUserName()
			{
				this.PrepareBuilder();
				this.result.hasUserName = false;
				this.result.userName_ = "";
				return this;
			}
			public NewRegRequest.Builder SetPwd(string value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasPwd = true;
				this.result.pwd_ = value;
				return this;
			}
			public NewRegRequest.Builder ClearPwd()
			{
				this.PrepareBuilder();
				this.result.hasPwd = false;
				this.result.pwd_ = "";
				return this;
			}
			public NewRegRequest.Builder SetNickName(string value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasNickName = true;
				this.result.nickName_ = value;
				return this;
			}
			public NewRegRequest.Builder ClearNickName()
			{
				this.PrepareBuilder();
				this.result.hasNickName = false;
				this.result.nickName_ = "";
				return this;
			}
			public NewRegRequest.Builder SetBindUin(uint value)
			{
				this.PrepareBuilder();
				this.result.hasBindUin = true;
				this.result.bindUin_ = value;
				return this;
			}
			public NewRegRequest.Builder ClearBindUin()
			{
				this.PrepareBuilder();
				this.result.hasBindUin = false;
				this.result.bindUin_ = 0u;
				return this;
			}
			public NewRegRequest.Builder SetBindEmail(string value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasBindEmail = true;
				this.result.bindEmail_ = value;
				return this;
			}
			public NewRegRequest.Builder ClearBindEmail()
			{
				this.PrepareBuilder();
				this.result.hasBindEmail = false;
				this.result.bindEmail_ = "";
				return this;
			}
			public NewRegRequest.Builder SetBindMobile(string value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasBindMobile = true;
				this.result.bindMobile_ = value;
				return this;
			}
			public NewRegRequest.Builder ClearBindMobile()
			{
				this.PrepareBuilder();
				this.result.hasBindMobile = false;
				this.result.bindMobile_ = "";
				return this;
			}
			public NewRegRequest.Builder SetTicket(string value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasTicket = true;
				this.result.ticket_ = value;
				return this;
			}
			public NewRegRequest.Builder ClearTicket()
			{
				this.PrepareBuilder();
				this.result.hasTicket = false;
				this.result.ticket_ = "";
				return this;
			}
			public NewRegRequest.Builder SetBuiltinIPSeq(uint value)
			{
				this.PrepareBuilder();
				this.result.hasBuiltinIPSeq = true;
				this.result.builtinIPSeq_ = value;
				return this;
			}
			public NewRegRequest.Builder ClearBuiltinIPSeq()
			{
				this.PrepareBuilder();
				this.result.hasBuiltinIPSeq = false;
				this.result.builtinIPSeq_ = 0u;
				return this;
			}
			public NewRegRequest.Builder SetDLSrc(uint value)
			{
				this.PrepareBuilder();
				this.result.hasDLSrc = true;
				this.result.dLSrc_ = value;
				return this;
			}
			public NewRegRequest.Builder ClearDLSrc()
			{
				this.PrepareBuilder();
				this.result.hasDLSrc = false;
				this.result.dLSrc_ = 0u;
				return this;
			}
			public NewRegRequest.Builder SetRegMode(uint value)
			{
				this.PrepareBuilder();
				this.result.hasRegMode = true;
				this.result.regMode_ = value;
				return this;
			}
			public NewRegRequest.Builder ClearRegMode()
			{
				this.PrepareBuilder();
				this.result.hasRegMode = false;
				this.result.regMode_ = 0u;
				return this;
			}
			public NewRegRequest.Builder SetTimeZone(string value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasTimeZone = true;
				this.result.timeZone_ = value;
				return this;
			}
			public NewRegRequest.Builder ClearTimeZone()
			{
				this.PrepareBuilder();
				this.result.hasTimeZone = false;
				this.result.timeZone_ = "";
				return this;
			}
			public NewRegRequest.Builder SetLanguage(string value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasLanguage = true;
				this.result.language_ = value;
				return this;
			}
			public NewRegRequest.Builder ClearLanguage()
			{
				this.PrepareBuilder();
				this.result.hasLanguage = false;
				this.result.language_ = "";
				return this;
			}
		}
		public const int BaseRequestFieldNumber = 1;
		public const int UserNameFieldNumber = 2;
		public const int PwdFieldNumber = 3;
		public const int NickNameFieldNumber = 4;
		public const int BindUinFieldNumber = 5;
		public const int BindEmailFieldNumber = 6;
		public const int BindMobileFieldNumber = 7;
		public const int TicketFieldNumber = 8;
		public const int BuiltinIPSeqFieldNumber = 12;
		public const int DLSrcFieldNumber = 13;
		public const int RegModeFieldNumber = 14;
		public const int TimeZoneFieldNumber = 15;
		public const int LanguageFieldNumber = 16;
		private static readonly NewRegRequest defaultInstance;
		private static readonly string[] _newRegRequestFieldNames;
		private static readonly uint[] _newRegRequestFieldTags;
		private bool hasBaseRequest;
		private BaseRequest baseRequest_;
		private bool hasUserName;
		private string userName_ = "";
		private bool hasPwd;
		private string pwd_ = "";
		private bool hasNickName;
		private string nickName_ = "";
		private bool hasBindUin;
		private uint bindUin_;
		private bool hasBindEmail;
		private string bindEmail_ = "";
		private bool hasBindMobile;
		private string bindMobile_ = "";
		private bool hasTicket;
		private string ticket_ = "";
		private bool hasBuiltinIPSeq;
		private uint builtinIPSeq_;
		private bool hasDLSrc;
		private uint dLSrc_;
		private bool hasRegMode;
		private uint regMode_;
		private bool hasTimeZone;
		private string timeZone_ = "";
		private bool hasLanguage;
		private string language_ = "";
		private int memoizedSerializedSize = -1;
		public static NewRegRequest DefaultInstance
		{
			get
			{
				return NewRegRequest.defaultInstance;
			}
		}
		public override NewRegRequest DefaultInstanceForType
		{
			get
			{
				return NewRegRequest.DefaultInstance;
			}
		}
		protected override NewRegRequest ThisMessage
		{
			get
			{
				return this;
			}
		}
		public BaseRequest BaseRequest
		{
			get
			{
				return this.baseRequest_ ?? BaseRequest.DefaultInstance;
			}
		}
		public string UserName
		{
			get
			{
				return this.userName_;
			}
		}
		public string Pwd
		{
			get
			{
				return this.pwd_;
			}
		}
		public string NickName
		{
			get
			{
				return this.nickName_;
			}
		}
		public uint BindUin
		{
			get
			{
				return this.bindUin_;
			}
		}
		public string BindEmail
		{
			get
			{
				return this.bindEmail_;
			}
		}
		public string BindMobile
		{
			get
			{
				return this.bindMobile_;
			}
		}
		public string Ticket
		{
			get
			{
				return this.ticket_;
			}
		}
		public uint BuiltinIPSeq
		{
			get
			{
				return this.builtinIPSeq_;
			}
		}
		public uint DLSrc
		{
			get
			{
				return this.dLSrc_;
			}
		}
		public uint RegMode
		{
			get
			{
				return this.regMode_;
			}
		}
		public string TimeZone
		{
			get
			{
				return this.timeZone_;
			}
		}
		public string Language
		{
			get
			{
				return this.language_;
			}
		}
		public override bool IsInitialized
		{
			get
			{
				return this.hasBaseRequest && this.hasBindUin && this.BaseRequest.IsInitialized;
			}
		}
		public override int SerializedSize
		{
			get
			{
				int num = this.memoizedSerializedSize;
				if (num != -1)
				{
					return num;
				}
				num = 0;
				if (this.hasBaseRequest)
				{
					num += CodedOutputStream.ComputeMessageSize(1, this.BaseRequest);
				}
				if (this.hasUserName)
				{
					num += CodedOutputStream.ComputeStringSize(2, this.UserName);
				}
				if (this.hasPwd)
				{
					num += CodedOutputStream.ComputeStringSize(3, this.Pwd);
				}
				if (this.hasNickName)
				{
					num += CodedOutputStream.ComputeStringSize(4, this.NickName);
				}
				if (this.hasBindUin)
				{
					num += CodedOutputStream.ComputeUInt32Size(5, this.BindUin);
				}
				if (this.hasBindEmail)
				{
					num += CodedOutputStream.ComputeStringSize(6, this.BindEmail);
				}
				if (this.hasBindMobile)
				{
					num += CodedOutputStream.ComputeStringSize(7, this.BindMobile);
				}
				if (this.hasTicket)
				{
					num += CodedOutputStream.ComputeStringSize(8, this.Ticket);
				}
				if (this.hasBuiltinIPSeq)
				{
					num += CodedOutputStream.ComputeUInt32Size(12, this.BuiltinIPSeq);
				}
				if (this.hasDLSrc)
				{
					num += CodedOutputStream.ComputeUInt32Size(13, this.DLSrc);
				}
				if (this.hasRegMode)
				{
					num += CodedOutputStream.ComputeUInt32Size(14, this.RegMode);
				}
				if (this.hasTimeZone)
				{
					num += CodedOutputStream.ComputeStringSize(15, this.TimeZone);
				}
				if (this.hasLanguage)
				{
					num += CodedOutputStream.ComputeStringSize(16, this.Language);
				}
				this.memoizedSerializedSize = num;
				return num;
			}
		}
		private NewRegRequest()
		{
		}
		public override void WriteTo(ICodedOutputStream output)
		{
			int arg_06_0 = this.SerializedSize;
			string[] newRegRequestFieldNames = NewRegRequest._newRegRequestFieldNames;
			if (this.hasBaseRequest)
			{
				output.WriteMessage(1, newRegRequestFieldNames[0], this.BaseRequest);
			}
			if (this.hasUserName)
			{
				output.WriteString(2, newRegRequestFieldNames[12], this.UserName);
			}
			if (this.hasPwd)
			{
				output.WriteString(3, newRegRequestFieldNames[8], this.Pwd);
			}
			if (this.hasNickName)
			{
				output.WriteString(4, newRegRequestFieldNames[7], this.NickName);
			}
			if (this.hasBindUin)
			{
				output.WriteUInt32(5, newRegRequestFieldNames[3], this.BindUin);
			}
			if (this.hasBindEmail)
			{
				output.WriteString(6, newRegRequestFieldNames[1], this.BindEmail);
			}
			if (this.hasBindMobile)
			{
				output.WriteString(7, newRegRequestFieldNames[2], this.BindMobile);
			}
			if (this.hasTicket)
			{
				output.WriteString(8, newRegRequestFieldNames[10], this.Ticket);
			}
			if (this.hasBuiltinIPSeq)
			{
				output.WriteUInt32(12, newRegRequestFieldNames[4], this.BuiltinIPSeq);
			}
			if (this.hasDLSrc)
			{
				output.WriteUInt32(13, newRegRequestFieldNames[5], this.DLSrc);
			}
			if (this.hasRegMode)
			{
				output.WriteUInt32(14, newRegRequestFieldNames[9], this.RegMode);
			}
			if (this.hasTimeZone)
			{
				output.WriteString(15, newRegRequestFieldNames[11], this.TimeZone);
			}
			if (this.hasLanguage)
			{
				output.WriteString(16, newRegRequestFieldNames[6], this.Language);
			}
		}
		public override int GetHashCode()
		{
			int num = base.GetType().GetHashCode();
			if (this.hasBaseRequest)
			{
				num ^= this.baseRequest_.GetHashCode();
			}
			if (this.hasUserName)
			{
				num ^= this.userName_.GetHashCode();
			}
			if (this.hasPwd)
			{
				num ^= this.pwd_.GetHashCode();
			}
			if (this.hasNickName)
			{
				num ^= this.nickName_.GetHashCode();
			}
			if (this.hasBindUin)
			{
				num ^= this.bindUin_.GetHashCode();
			}
			if (this.hasBindEmail)
			{
				num ^= this.bindEmail_.GetHashCode();
			}
			if (this.hasBindMobile)
			{
				num ^= this.bindMobile_.GetHashCode();
			}
			if (this.hasTicket)
			{
				num ^= this.ticket_.GetHashCode();
			}
			if (this.hasBuiltinIPSeq)
			{
				num ^= this.builtinIPSeq_.GetHashCode();
			}
			if (this.hasDLSrc)
			{
				num ^= this.dLSrc_.GetHashCode();
			}
			if (this.hasRegMode)
			{
				num ^= this.regMode_.GetHashCode();
			}
			if (this.hasTimeZone)
			{
				num ^= this.timeZone_.GetHashCode();
			}
			if (this.hasLanguage)
			{
				num ^= this.language_.GetHashCode();
			}
			return num;
		}
		public override bool Equals(object value)
		{
			NewRegRequest newRegRequest = value as NewRegRequest;
			return newRegRequest != null && (this.hasBaseRequest == newRegRequest.hasBaseRequest && (!this.hasBaseRequest || this.baseRequest_.Equals(newRegRequest.baseRequest_))) && (this.hasUserName == newRegRequest.hasUserName && (!this.hasUserName || this.userName_.Equals(newRegRequest.userName_))) && (this.hasPwd == newRegRequest.hasPwd && (!this.hasPwd || this.pwd_.Equals(newRegRequest.pwd_))) && (this.hasNickName == newRegRequest.hasNickName && (!this.hasNickName || this.nickName_.Equals(newRegRequest.nickName_))) && (this.hasBindUin == newRegRequest.hasBindUin && (!this.hasBindUin || this.bindUin_.Equals(newRegRequest.bindUin_))) && (this.hasBindEmail == newRegRequest.hasBindEmail && (!this.hasBindEmail || this.bindEmail_.Equals(newRegRequest.bindEmail_))) && (this.hasBindMobile == newRegRequest.hasBindMobile && (!this.hasBindMobile || this.bindMobile_.Equals(newRegRequest.bindMobile_))) && (this.hasTicket == newRegRequest.hasTicket && (!this.hasTicket || this.ticket_.Equals(newRegRequest.ticket_))) && (this.hasBuiltinIPSeq == newRegRequest.hasBuiltinIPSeq && (!this.hasBuiltinIPSeq || this.builtinIPSeq_.Equals(newRegRequest.builtinIPSeq_))) && (this.hasDLSrc == newRegRequest.hasDLSrc && (!this.hasDLSrc || this.dLSrc_.Equals(newRegRequest.dLSrc_))) && (this.hasRegMode == newRegRequest.hasRegMode && (!this.hasRegMode || this.regMode_.Equals(newRegRequest.regMode_))) && (this.hasTimeZone == newRegRequest.hasTimeZone && (!this.hasTimeZone || this.timeZone_.Equals(newRegRequest.timeZone_))) && (this.hasLanguage == newRegRequest.hasLanguage && (!this.hasLanguage || this.language_.Equals(newRegRequest.language_)));
		}
		public override void PrintTo(TextWriter writer)
		{
			GeneratedMessageLite<NewRegRequest, NewRegRequest.Builder>.PrintField("BaseRequest", this.hasBaseRequest, this.baseRequest_, writer);
			GeneratedMessageLite<NewRegRequest, NewRegRequest.Builder>.PrintField("UserName", this.hasUserName, this.userName_, writer);
			GeneratedMessageLite<NewRegRequest, NewRegRequest.Builder>.PrintField("Pwd", this.hasPwd, this.pwd_, writer);
			GeneratedMessageLite<NewRegRequest, NewRegRequest.Builder>.PrintField("NickName", this.hasNickName, this.nickName_, writer);
			GeneratedMessageLite<NewRegRequest, NewRegRequest.Builder>.PrintField("BindUin", this.hasBindUin, this.bindUin_, writer);
			GeneratedMessageLite<NewRegRequest, NewRegRequest.Builder>.PrintField("BindEmail", this.hasBindEmail, this.bindEmail_, writer);
			GeneratedMessageLite<NewRegRequest, NewRegRequest.Builder>.PrintField("BindMobile", this.hasBindMobile, this.bindMobile_, writer);
			GeneratedMessageLite<NewRegRequest, NewRegRequest.Builder>.PrintField("Ticket", this.hasTicket, this.ticket_, writer);
			GeneratedMessageLite<NewRegRequest, NewRegRequest.Builder>.PrintField("BuiltinIPSeq", this.hasBuiltinIPSeq, this.builtinIPSeq_, writer);
			GeneratedMessageLite<NewRegRequest, NewRegRequest.Builder>.PrintField("DLSrc", this.hasDLSrc, this.dLSrc_, writer);
			GeneratedMessageLite<NewRegRequest, NewRegRequest.Builder>.PrintField("RegMode", this.hasRegMode, this.regMode_, writer);
			GeneratedMessageLite<NewRegRequest, NewRegRequest.Builder>.PrintField("TimeZone", this.hasTimeZone, this.timeZone_, writer);
			GeneratedMessageLite<NewRegRequest, NewRegRequest.Builder>.PrintField("Language", this.hasLanguage, this.language_, writer);
		}
		public static NewRegRequest ParseFrom(byte[] data)
		{
			return NewRegRequest.CreateBuilder().MergeFrom(data).BuildParsed();
		}
		private NewRegRequest MakeReadOnly()
		{
			return this;
		}
		public static NewRegRequest.Builder CreateBuilder()
		{
			return new NewRegRequest.Builder();
		}
		public override NewRegRequest.Builder ToBuilder()
		{
			return NewRegRequest.CreateBuilder(this);
		}
		public override NewRegRequest.Builder CreateBuilderForType()
		{
			return new NewRegRequest.Builder();
		}
		public static NewRegRequest.Builder CreateBuilder(NewRegRequest prototype)
		{
			return new NewRegRequest.Builder(prototype);
		}
		static NewRegRequest()
		{
			NewRegRequest.defaultInstance = new NewRegRequest().MakeReadOnly();
			NewRegRequest._newRegRequestFieldNames = new string[]
			{
				"BaseRequest",
				"BindEmail",
				"BindMobile",
				"BindUin",
				"BuiltinIPSeq",
				"DLSrc",
				"Language",
				"NickName",
				"Pwd",
				"RegMode",
				"Ticket",
				"TimeZone",
				"UserName"
			};
			NewRegRequest._newRegRequestFieldTags = new uint[]
			{
				10u,
				50u,
				58u,
				40u,
				96u,
				104u,
				130u,
				34u,
				26u,
				112u,
				66u,
				122u,
				18u
			};
			object.ReferenceEquals(micromsg.Proto.NewRegRequest.Descriptor, null);
		}
	}
}
